﻿using Bll;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Myproject.BSM.Base.User
{
    public partial class MyMessage : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string adminID = Request.QueryString["id"];
            if (!string.IsNullOrEmpty(adminID))
            {
                AdminModel model = new AdminBLL().GetModel(int.Parse(adminID));
                adminName.Value = model.AdminName;
                AdminEmail.Value = model.Email;
                adminRealname.Value = model.AdminRealName;
                AddTime.Value = model.AddTime.ToString("yyyy-MM-dd HH:mm:ss");
                ThisLoadTime.Value = model.LastLoadTime.ToString("yyyy-MM-dd HH:mm:ss");
            }
        }
    }
}